﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RentalCalcV7
{
    public class EmotionPrice: Price
    {
        public override int GetPriceCode()
        {
            return Movie.EMOTION;
        }

        public override double GetCharge(int daysRented)
        {
            double result = 1.5;

            if (daysRented > 3)
            {
                result += (daysRented - 3) * 1.5;
            }

            return result;
        }

        public new int GetMemeberPoints(int daysRented)
        {
            return daysRented * 3;
        }
    }
}
